/**
 * This code is released under lgpl v3 license.
 * All rights reserved.
*/

package flash.display;

import bridge.FABridge;
import flash.events.EventDispatcher;

/**
 *
 * @author yuan yunchang    dukerr@gmail.com
 */
public class DisplayObject extends EventDispatcher{
    static String className = "flash.display.DisplayObject";
    protected DisplayObject() {
    }
    public final static DisplayObject createDisplayObject(String bridgeName){
        return (DisplayObject)(FABridge.get().getInstance(bridgeName).create(className));
    }
    public final  native Stage getStage()/*-{
    return this.getStage()
    }-*/;
}
